<html>
<head><meta charset="utf-8"><title>Std Cursor API for LinkedList · t-libs · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/index.html">t-libs</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html">Std Cursor API for LinkedList</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="185272765"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185272765" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Lew <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185272765">(Jan 10 2020 at 00:46)</a>:</h4>
<p>I want to help move this forward. What's the best way to do so?</p>



<a name="185277466"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185277466" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185277466">(Jan 10 2020 at 02:37)</a>:</h4>
<p>I suspect the next step here is to prepare an implementation for std (to be landed in an unstable fashion). You can register your interest to do so on the tracking issue -- <a href="https://github.com/rust-lang/rust/issues/58533" target="_blank" title="https://github.com/rust-lang/rust/issues/58533">https://github.com/rust-lang/rust/issues/58533</a>.</p>



<a name="185277516"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185277516" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185277516">(Jan 10 2020 at 02:38)</a>:</h4>
<p>to my knowledge there's not been major discussion since the RFC landed so I suspect that implementing it is the next step</p>



<a name="185325662"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185325662" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Kalbertodt <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185325662">(Jan 10 2020 at 16:28)</a>:</h4>
<p><span class="user-mention" data-user-id="116458">@Charles Lew</span> If you have any questions, just ask here! Do you think you wanna take a stab at implementing this?</p>



<a name="185325777"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185325777" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Kalbertodt <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185325777">(Jan 10 2020 at 16:29)</a>:</h4>
<p>No one wrote down mentoring instructions yet. I could do that. <span class="user-mention" data-user-id="116458">@Charles Lew</span> Would you like mentoring instructions? The other possibility would be to talk about all your questions in chat, which might be more appropriate now. Mentoring instructions are usually useful when we don't have a specific person working on it yet.</p>



<a name="185385344"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185385344" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Lew <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185385344">(Jan 11 2020 at 11:06)</a>:</h4>
<p>Thanks! I've put up my PR at <a href="https://github.com/rust-lang/rust/pull/68123" target="_blank" title="https://github.com/rust-lang/rust/pull/68123">https://github.com/rust-lang/rust/pull/68123</a></p>



<a name="185386951"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185386951" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Kalbertodt <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185386951">(Jan 11 2020 at 11:55)</a>:</h4>
<p><span class="user-mention" data-user-id="116458">@Charles Lew</span> Thanks a bunch :) I'm looking forward to this feature</p>



<a name="185386996"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185386996" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Kalbertodt <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185386996">(Jan 11 2020 at 11:56)</a>:</h4>
<p><span class="user-mention" data-user-id="143274">@Amanieu</span> Regarding the changed method name you suggested: should I create a PR for the rfc repo fixing the RFC text? I can do that if you think it's a good idea.</p>



<a name="185387833"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185387833" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amanieu <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185387833">(Jan 11 2020 at 12:25)</a>:</h4>
<p><span class="user-mention" data-user-id="118772">@Lukas Kalbertodt</span> Yes that's a good idea.</p>



<a name="185395844"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185395844" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Kalbertodt <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185395844">(Jan 11 2020 at 16:23)</a>:</h4>
<p><span class="user-mention" data-user-id="143274">@Amanieu</span> I just read the RFC again and am currently renaming. For most of your suggestions everyone agrees, but the story around <code>pop</code>/<code>remove</code> seems less clear.  Should I use your <code>remove</code> suggestion anyway and we will discuss this on the tracking issue?</p>



<a name="185395893"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185395893" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Kalbertodt <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185395893">(Jan 11 2020 at 16:24)</a>:</h4>
<p>Furthermore, I would actually name it <code>remove_current</code>. All other operations have an explicit "direction" and<code>cursor.remove_current()</code> seems more readable to me than <code>cursor.remove()</code>.</p>



<a name="185399404"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185399404" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amanieu <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185399404">(Jan 11 2020 at 18:06)</a>:</h4>
<p><span class="user-mention" data-user-id="118772">@Lukas Kalbertodt</span> Sure, <code>remove_current</code> sounds good.</p>



<a name="185399876"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185399876" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Kalbertodt <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185399876">(Jan 11 2020 at 18:20)</a>:</h4>
<p><a href="https://github.com/rust-lang/rfcs/pull/2847" target="_blank" title="https://github.com/rust-lang/rfcs/pull/2847">https://github.com/rust-lang/rfcs/pull/2847</a></p>



<a name="185592073"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185592073" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Kalbertodt <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185592073">(Jan 14 2020 at 12:46)</a>:</h4>
<p>I can create a PR expanding the documentation of the cursor API, if you want! I don't mind writing docs ^_^ <br>
Or did someone else already plan on doing that?</p>



<a name="185598238"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Std%20Cursor%20API%20for%20LinkedList/near/185598238" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amanieu <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Std.20Cursor.20API.20for.20LinkedList.html#185598238">(Jan 14 2020 at 14:05)</a>:</h4>
<p>Go ahead, I don't think anyone is working on it at the moment.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>